﻿<%@ Page CodeFileBaseClass="AliCMS.Lib.SystemPageBase" %>
<ali:Get ID="Module" Object="Module" Operation="Get(Request.QueryString['Namespace'])" Validate="True" />
<section data-page="module_edit" data-title="编辑模块" data-lang="<%=ContentLang%>" data-id="<%=Request.QueryString["Namespace"]%>">
	<dl class="path1">
		<dt><span>您的位置：</span><a href="list.aspx" target="ali-navtab">模块列表</a> → <b class="<%=ContentLang%>Font"><%=Module[Label]%></b></dt>
		<dd>
			<select data-class="<%=ContentLang%>Font" data-ali-widget="combo">
				<ali:List Object="Language" Source="Manager.Languages">
					<ali:Record>
						<%If Convert.ToString(Ab) == ContentLang%>
							<option value="<%=Ab%>" selected><%=[AliCMS.SystemModule.Alias.Language.Name + PageLang]%></option>
						<%Else%>
							<option value="<%=Ab%>"><%=[AliCMS.SystemModule.Alias.Language.Name + PageLang]%></option>
						<%EndIf%>
					</ali:Record>
				</ali:List>
			</select>
		</dd>
	</dl>
	<form action="" class="post">
		<div class="post-body">
			<div class="ali-tabs" data-event="click">
				<div class="ali-tabs-header">
					<div class="ali-tabs-nav-container">
						<ul>
							<li><a>编辑</a></li>
							<li><a href="object/list.aspx?Lang=<%=ContentLang%>&amp;Namespace=<%=Module[Namespace]%>" target="ali-navtab">对象列表</a></li>
							<li><a href="object/add.aspx?Lang=<%=ContentLang%>&amp;Namespace=<%=Module[Namespace]%>" target="ali-navtab">添加对象</a></li>
							<li><a href="dictionary/list.aspx?Lang=<%=ContentLang%>&amp;Namespace=<%=Module[Namespace]%>" target="ali-navtab">词典</a></li>
							<li><a href="dictionary/add.aspx?Lang=<%=ContentLang%>&amp;Namespace=<%=Module[Namespace]%>" target="ali-navtab">添词</a></li>
						</ul>
					</div>
				</div>
				<div class="ali-tabs-body">
					<div class="ali-tabs-panel">
						<table class="post-table margin2">
							<tr>
								<th>Guid：</th>
								<td><%=Module[ID]%></td>
							</tr>
							<tr>
								<th>命名空间：</th>
								<td><%=Module[Namespace]%></td>
							</tr>
							<tr>
								<th>名称：</th>
								<td><input type="text" name="Label" value="<%=Module[Label]%>" size="30" maxlength="50" class="ali-input <%=ContentLang%>Font"></td>
							</tr>
							<tr>
								<th>描述：</th>
								<td><textarea name="Description" cols="60" rows="6" class="Text" ><%=Module[Description]%></textarea></td>
							</tr>
							<tr>
								<th>创建时间：</th>
								<td><%=Module[CreateTime]%></td>
							</tr>
							<tr>
								<th>更新日期：</th>
								<td><input type="text" name="UpdateTime" value="<%=Module[UpdateTime]%>" maxlength="100" class="ali-input">留空，则为当前时间</td>
							</tr>
						</table>
					</div>
				</div>
				<div class="ali-tabs-bottom"><b></b></div>
			</div>
		</div>
		<div class="post-footer"><button type="submit" class="ali-button">保 存</button></div>
	</form>
</section>